// 引入路由类型
import { RouteRecordRaw } from 'vue-router'
// 定义user小仓库数据state类型
export interface UserState {
  token: string | null
  menuRoutes: RouteRecordRaw[]
  avatar: string
  userName: string
  buttons: string[]
  permissions: string[]
}
